package com.mp.approvalreq.dao;

import com.mp.approvalreq.entity.TemplateFolder;

import java.sql.SQLException;
import java.util.List;

public interface TemplateFolderDao {

    List<TemplateFolder> selectTemplateFolders(Integer companyId) throws SQLException;

    void insertTemplateFolder(TemplateFolder templateFolder) throws SQLException;

    void updateBatchTemplateFolder(List<TemplateFolder> templateFolders) throws SQLException;

    void deleteTemplateFolder(Integer folderId, Integer companyId) throws SQLException;

    TemplateFolder selectTemplateFolderById(Integer id) throws SQLException;
}
